<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/views/includes/taglibs.jsp"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="edit user" />
<meta name="description" content="edit user" />
<title>EDIT USER</title>

<script type="text/javascript">

	function submitUser() {
		$.post($("#editUserForm").attr("action"), $("#editUserForm").serialize(), function() {
			$("#editUserDialog").dialog( "close" );
			$("#userList").trigger("reloadGrid");
		}); 	
	}

	
		

</script>


</head>

<body>

<div id="editUserDialog" class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable"  style="display:none">
     
  <div class="ui-jqdialog-content">
     
      <form method="post" id="editUserForm" action="editUser">
	
		<table>
			<tbody>
		
			<tr rowpos="1" class="FormData" id="tr_id">
				<td class="CaptionTD">first name</td>
				<td class="DataTD">&nbsp;<input name="firstName" value="$user.firstName" role="textbox" 
					class="FormElement ui-widget-content ui-corner-all"/></td>
			</tr>
			<tr rowpos="2" class="FormData" id="tr_invdate">
				<td class="CaptionTD">last name</td>
				<td class="DataTD">&nbsp;<input name="lastName" role="textbox"
					class="FormElement ui-widget-content ui-corner-all"/></td>
			</tr>
			<tr rowpos="3" class="FormData" id="tr_name">
				<td class="CaptionTD">gender</td>
				<td class="DataTD">&nbsp;<input name="gender" role="textbox"
					class="FormElement ui-widget-content ui-corner-all"/></td>
			</tr>
			<tr rowpos="4" class="FormData" id="tr_amount">
				<td class="CaptionTD">birthday</td>
				<td class="DataTD">&nbsp;<input name="birthday" role="textbox"
					class="FormElement ui-widget-content ui-corner-all"/></td>
			</tr>
			<tr rowpos="5" class="FormData" id="tr_tax">
				<td class="CaptionTD">mail</td>
				<td class="DataTD">&nbsp;<input name="mail" role="textbox" class="FormElement ui-widget-content ui-corner-all"/></td>
			</tr>
				
			</tbody>
		</table>
	</form>
		
		<table cellspacing="0" cellpadding="0" border="0" id="TblGrid_crud_2" class="EditTable">
			<tbody>
				<tr>
					<td colspan="2">
					<hr style="margin: 1px;" class="ui-widget-content">
					</td>
				</tr>
				<tr id="Act_Buttons">
					
					<td class="EditButton"><a
						class="fm-button ui-state-default ui-corner-all fm-button-icon-left"
						id="editUserSubmit" href="javascript:submitUser();">Submit<span
						class="ui-icon ui-icon-disk"></span></a><a
						class="fm-button ui-state-default ui-corner-all fm-button-icon-left ui-state-hover"
						id="cData" href="javascript:void(0)">Cancel<span
						class="ui-icon ui-icon-close"></span></a></td>
				</tr>
				<tr class="binfo" style="display: none;">
					<td colspan="2" class="bottominfo"></td>
				</tr>
			</tbody>
		</table>
		
	</div>	

</div>









</body>
</html>